package router

import (
	"awesomeProject/middleware"
	"github.com/gin-gonic/gin"
)

func InitRouters(r *gin.Engine) {
	//直接传入中间件不是调用
	r.Use(middleware.LogInput)

	//调用中间件
	//r.Use(middleware.GetLogInput())
	InitApi(r)
	Initcourse(r)
}
